package com.lxw.nonghe.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author lxw
 * @since 2025-04-17
 */
public interface RoleService extends IService<Role> {
    Role getRoleById(Long roleId);

    Page<Role> getRolePage(int current, int size, String roleName);
    Role getRoleByRoleName(String roleName);
    Page<Role> queryRoles(Role queryRole,int current,int size);
}
